]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Reduce the scroll view fade
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 27 Oct 2011 17:52:17 +0000 (13:52 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 31 Oct 2011 17:45:57 +0000 (13:45 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=662226

data/theme/gnome-shell.css
js/ui/messageTray.js

index 0e0986683b175e51d851f76c669a7a0ac81efab6..ea8187016474b700b89d8cea9d54ac36b51eb693 100644 (file)
@@ -1217,6 +1217,7 @@ StTooltip StLabel {
 
 #notification-scrollview {
     max-height: 10em;
+    -st-vfade-offset: 24px;
 }
 
 #notification-scrollview > .top-shadow, #notification-scrollview > .bottom-shadow {
index 75eb9f9ea012a797bbee6fd48a317eace4f96419..ca12fb1a041eae643d6908da995061e1622809e4 100644 (file)
@@ -597,8 +597,7 @@ Notification.prototype = {
         this._table.add_style_class_name('multi-line-notification');
         this._scrollArea = new St.ScrollView({ name: 'notification-scrollview',
                                                vscrollbar_policy: this._scrollPolicy,
-                                               hscrollbar_policy: Gtk.PolicyType.NEVER,
-                                               style_class: 'vfade' });
+                                               hscrollbar_policy: Gtk.PolicyType.NEVER });
         this._table.add(this._scrollArea, { row: 1,
                                             col: 2 });
         this._updateLastColumnSettings();